#ifndef __DVC1124_IIC_H
#define __DVC1124_IIC_H
#include "sys_hc32f460.h"


#define  DVC1124//DVC1124	DVC1117	DVC1114	DVC1110


#ifdef	 DVC1124
#include "DVC1124.h"
#endif

#ifdef	 DVC1117
#include "DVC1117.h"
#endif

#ifdef	 DVC1114
#include "DVC1114.h"
#endif
#ifdef	 DVC1110
#include "DVC1110.h"
#endif

#define IIC_SCL_PIN     GET_PIN(A,7)
#define IIC_SDA_PIN     GET_PIN(B,0)
#define DVC_INT_PIN     GET_PIN(A,3)

bool dvc11xx_read_regs(uint8_t regAddr,uint8_t regLen);
bool dvc11xx_write_regs(uint8_t regAddr,uint8_t regLen);
void drv11xx_init();
void dvc11xx_i2c_wakeup(void);


#endif
